﻿<Window x:Class="GaussApplication.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Gaussian Method Equation Solver" Height="405" Width="654" Loaded="Window_Loaded" ResizeMode="NoResize">
    <Grid Height="371" VerticalAlignment="Stretch">
        <StackPanel Name="stackPanel1" Orientation="Horizontal" VerticalAlignment="Top" Margin="5">
            <TextBlock Name="textBlock1" Text="Dimensions:" Margin="5" VerticalAlignment="Center" TextAlignment="Left" />
            <TextBox Height="23" Name="dimensionsTextBox" Width="84" Text="" MaxLines="1" Margin="5" IsReadOnly="True" />
            <Slider Height="23" Name="dimensionsSlider" Width="74" Minimum="2" Margin="5" IsSnapToTickEnabled="True" ValueChanged="dimensionsSlider_ValueChanged" />
            <Button Content="Clear matrix" Height="23" Name="clearMatrixButton" Width="75" Margin="5" Click="clearMatrixButton_Click" />
            <Button Content="Compute" Height="23" Name="computeButton" Width="75" Margin="5" Click="computeButton_Click" />
            <TextBlock Name="textBlock2" Text="Algorithm:" TextAlignment="Left" VerticalAlignment="Center" Margin="5"/>
            <RadioButton Content="Matlab" Height="16" Name="matlabSelector" Margin="5" DataContext="{Binding ElementName=customSelector, Path=IsChecked}" IsChecked="True" />
            <RadioButton Content="Custom" Height="16" Name="customSelector" Margin="5" />
        </StackPanel>
        <Grid Margin="12,0,327,12" Name="aMatrixGrid" VerticalAlignment="Bottom" Height="290"></Grid>
        <Grid Height="290" Margin="0,0,172,12" Name="xMatrixGrid" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="109" />
        <Grid Height="290" Margin="0,0,12,12" Name="bMatrixGrid" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="115" />
        <TextBlock Height="23" Name="aLabel" Text="A" Foreground="Red" FontSize="16" FontWeight="Bold" TextAlignment="Center" Margin="147,46,474,302" />
        <TextBlock FontSize="16" FontWeight="Bold" Foreground="Red" Margin="402,46,0,302" Name="bLabel" Text="X" TextAlignment="Center" HorizontalAlignment="Left" Width="31" />
        <TextBlock FontSize="16" FontWeight="Bold" Foreground="Red" Height="23" Margin="0,46,48,302" Name="textBlock3" Text="B" TextAlignment="Center" HorizontalAlignment="Right" Width="38" />
    </Grid>
</Window>
